
#请求博客详情页面接口

"""
1、先登录获得登陆凭证
2、
"""
import requests

header={
    "User_token_header":"eyJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwidXNlck5hbWUiOiJ6aGFuZ3NhbiIsImV4cCI6MTc1NDM4MTA1OX0.bXpLR0lOfe901KraUaykaUx_kH5l8qBDLHVHL88wi-0"
}
url="http://8.137.19.140:9090/blog_detail.html?blogId=133849"
url2="http://8.137.19.140:9090/blog_detail.html"
param={
    'blogId':133849
}
r=requests.request("GET"
                   ,url=url
                   ,headers=header,
                   params=param)
print(r.text)
